package com.feihong.yw189.utils;

import java.util.Map;

/**
 * EventBus 回调事件
 * Created by PVer on 2017/12/4.
 */

public class MessageEvent {
    public static final int EDIT_NAME = 1; // 信息修改-用户名
    public static final int EDIT_PHOTO = 2; // 信息修改-头像
    public static final int EDIT_PHONE = 3;  //信息修改-电话
    public static final int CALL_PER = 4;

    // 张鹏 区间值 100-200
    public static final int KAIKA_VLAUE = 100;  // 给开卡界面传递两个值
    private int type;
    private Map<String, String> mMsg;

    public MessageEvent(int type) {
        this.type = type;
    }

    public int getType() {
        return type;
    }

    public MessageEvent(Map<String, String> msg) {
        mMsg = msg;
    }

    public Map<String, String> getMsg() {
        return mMsg;
    }

}
